﻿@model IEnumerable<KRM.Core.KRMSP_GetFraudCheckingDetails_Result>
<script>
    $(document).ready(function () {
        var height = $(window).height() - 400;
        $("table.tbl-fraudchecked").attr("data-height", height);
    })
</script>
<table class="table table-bordered table-fix krmtable tbl-selected tbl-fraudchecked">
    <thead>
        <tr>
            <th></th>
            <th>FraudHeld</th>
            <th>OrderRef</th>
            <th>DatePlaced</th>
            <th>ShipPostcode</th>
            <th>Message</th>
            <th>Amount</th>
        </tr>
    </thead>
    <tbody>
        @foreach (var item in Model)
        {
            <tr ondblclick="window.open('/orderview/orderdetail?OrderRef=@item.Orderref', '_blank');" onclick="orderDetail('@item.Orderref')">
                <td style="text-align: center;">
                    <input type="checkbox" class="checkbox  checkbox-fraud" value="@item.TransactionID-@item.Orderref" /></td>
                <td>@item.FraudHeld</td>
                <td>@item.Orderref</td>
                <td>@item.DatePlaced</td>
                <td>@item.ShipPostcode</td>
                <td>@item.Message</td>
                <td>@item.Amount</td>
            </tr>
        }
    </tbody>
</table>
